package top.linyuxb.lycloud.admin.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/7/29 14:54
 * @Desc: 服务注册表 实体
 */
@Setter
@Getter
@Entity
@Table(name = "ly_conf_server")
public class LyConfServerEntity extends BaseEntity{
    private String env;
    private String app;
    private String serverIp;
    private String serverPort;
    @Column(name = "`user`")
    private String user;
    private String userPassword;
    private Timestamp active;
    private Integer weight;
}
